from random import randint,choice
num_char    = [1,2,3,4,5,6,7,8,9,10,'a','b','c','d','e']
prize_num   =f"{choice(num_char)}{choice(num_char)}{choice(num_char)}{choice(num_char)}"
print(prize_num)
my_ticket = '12345'
count     = 0
while my_ticket!=prize_num:
    count+=1
    prize_num = f"{choice(num_char)}{choice(num_char)}{choice(num_char)}{choice(num_char)}"
print(count)